#!/bin/sh
# SrvrPowerCtrl custom idle check script.
# This returns the number of user log-ins and will
# prevent SrvrPowerCtrl on-idle actions if there are
# login sessions..

USERCOUNT=`who | wc -l`
USERCOUNT=`expr $USERCOUNT \* 1`
echo "Usercount: ${USERCOUNT}"
exit $USERCOUNT
